package cn.bytecollege.dao;

import cn.bytecollege.util.DBHelper;

import java.util.List;

public class BaseDao<T,ID> implements IBaseDao<T,ID>{
    protected DBHelper helper=null;
    public BaseDao(){
        helper=new DBHelper();
    }
    @Override
    public List<T> find(Object... objects) {
        return null;
    }

    @Override
    public List<T> findByPage(int pageIndex, int pageSize, Object... objects) {
        return null;
    }

    @Override
    public T findById(ID id) {
        return null;
    }

    @Override
    public int save(T t) {
        return 0;
    }

    @Override
    public int deleteById(ID id) {
        return 0;
    }

    @Override
    public int delete(T t) {
        return 0;
    }

    @Override
    public int update(T t) {
        return 0;
    }
}
